function Sheet(elContainer){
	this.container = elContainer;
	this.items = [];
	this.currentRow = null;
	this.counter = 0;

	this.BeginAdd = function(){
		var row = this.createRowElement();
		this.container.appendChild(row);
		this.currentRow = row;
	};
	
	this.BeginEdit = function(row){
		this.currentRow = row;
		this.currentRow.removeClass('inactive');
	};

	this.Commit = function(){
		this.currentRow.addClass('inactive');
		this.doUpdate(this.currentRow.attr('num'), this.currenRow.children('input').val());
	};
	
	this.doUpdate = function(){
		
	};

	this.createRowElement = function(){
		return $(
			"<div class='sheet-item' num='" + this.counter++ + "'>" +
				"<span>Ready</span>" +
				"<input></input>" +
				"<span></span>" +
			"</div>");

	};
}
